<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link  rel="stylesheet" href="/Public/Admin/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <h2 style="text-align: center;">订单详情</h2>

    <table class="table table-hover">
        <tbody>
        <tr>
            <th>客户</th>
            <td><?php echo ($data["khname"]); ?></td>
        </tr>
        <tr>
            <th>商品</th>
            <td><?php echo ($data["spname"]); ?></td>
        </tr>
        <tr>
            <th>电话</th>
            <td><?php echo ($data["tel"]); ?></td>
        </tr>
        <tr>
            <th>地址</th>
            <td><?php echo ($data["address"]); ?></td>
        </tr>
        <tr>
            <th>数量</th>
            <td><?php echo ($data["number"]); ?></td>
        </tr>
        <tr>
            <th>金额</th>
            <td><?php echo ($data["price"]); ?></td>
        </tr>
        <tr>
            <th>下单时间</th>
            <td><?php echo (date("Y-m-d H:i:s",$data["xd_time"])); ?></td>
        </tr>
        </tbody>
    </table>
    <button type="button" class="btn btn-info" onclick="window.location.href='/index.php/Admin/Order/listOrder'">返回</button>
</div>

</body>
</html>